#ifndef ZIGBUSADDRESSNEED_H
#define ZIGBUSADDRESSNEED_H

#include "ZigbusItem.h"

#define ADDR_NEED_SIZE 1

class ZigbusAddressNeed : public ZigbusItem
{
public:
    ZigbusAddressNeed();
    ZigbusAddressNeed(int value);
    ZigbusAddressNeed(bool needed);
    ZigbusAddressNeed(const ZigbusAddressNeed& other);
    virtual ~ZigbusAddressNeed() { }

    static ZigbusAddressNeed INVALID();

    virtual QString text() const;
    virtual QString type() const { return "address_needed"; }
};

#endif // ZIGBUSADDRESSNEED_H
